public class Person {
    String name;
    int age;

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public Person() {
    }

    public void eat (){
        System.out.println(name+"吃饭");
    }
    public void sleep()
    {
        System.out.println(name+"睡觉");
    }
}
